package is.ru.honn.rupin.data;

import is.ru.honn.rupin.domain.Pin;
import is.ruframework.data.RuDataAccess;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * User: echo
 * Date: 10/20/12
 * Time: 7:31 PM
 *
 * A gateway into persistent data storage for Pins
 */
public interface PinDataGateway extends RuDataAccess {
    public void add(Pin pin);
    public List<Pin> getPinsByBoardnameAndCreator(String boardname, String username);
}
